//
//  UserData.swift
//  swiftUIDemo
//
//  Created by ddios on 2019/7/10.
//  Copyright © 2019 dingdang. All rights reserved.
//

import SwiftUI
import Combine

class UserData: BindableObject {
    
    let didChange = PassthroughSubject<UserData, Never>()

    var showFavoritesOnly = false {
        didSet {
            didChange.send(self)
        }
    }
    var landmarks = landmarkData {
        didSet {
            didChange.send(self)
        }
    }
    
}
